<%@page contentType="text/html; charset=utf-8" %>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/dateTime.jsp" %>
<%@ include file="/commons/commonEdit.jsp" %>
<%@ include file="/commons/validation.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>高级查询</title>
<script language="JavaScript" src="${ctx}/scripts/common/prototype.js"></script>
<script language="JavaScript"  src="${ctx}/scripts/div/common.js"></script>
<script>
function next(url){
	window.location.href = url;
}
function choiceHouse(){
	var url = "${ctx}/customer_chooseSingleHouseAction.do?method=chooseBuildingMain";
	top.windowOpen(url, "choiceHouse", "", 500, 800);
}
function setHouseInfo(houseId,houseNum){
		document.getElementById("houseId").value = houseId;
		document.getElementById("houseNumber").value = houseNum;
		$('houseNumber').fireEvent("onblur");
}
function identitySearch(){
		var url="${ctx}/occupation_joinHandleAction.do?method=setIdentityConditionCache";
   		var parameters = Form.serialize('searchForm');
   		new Ajax.Request(url,{method: 'post', parameters: parameters, onComplete: function(){
   			var obj = findFrame("main");
   			obj.showResponse();
   			windowClose();
   		}});
	}
</script>
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="window_head_outBg"><table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="${ctx}/images/ico_Advance.gif" width="16" height="16" align="absmiddle" /> <span class="window_head_intext">高级查询</span></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td class="aux_header_line_1"></td>
  </tr>
  <tr>
    <td class="aux_header_line_2"></td>
  </tr>
  <tr>
    <td class="content"><table width="100%" ""border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top" class="aux_outtable_color">
        <form action="" name="searchForm" method="post">
        <input type="hidden" name="houseId" value="">
        <table width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color">
          <tr>
            <td class="aux_intable_td1">楼 栋：</td>
            <td class="aux_intable_td2">
              <pms:unitedSelect
             		name="buildingDomainId"
             		optionLabel="name"
             		optionValue="keyword"
             		selectText="请选择..."
             		dataList="${buildList}"
             		style="width:110px;">
            </pms:unitedSelect></td>
          </tr>
          <tr>
            <td class="aux_intable_td1">管理房号：</td>
            <td class="aux_intable_td2">
            <input name="coalitionHouseNumber" type="text" class="inputtext" size="16" /></td>
          </tr>
          <tr>
            <td class="aux_intable_td1">房 号：</td>
            <td class="aux_intable_td2"><table border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><input name="houseNumber" type="text" class="inputtext" size="16" /></td>
                <td width="4">&nbsp;</td>
                <td><a href="#"  onClick="choiceHouse();"onFocus="this.blur()"><img src="${ctx}/images/ico_houesno.GIF" alt="请点选查找房号" border="0" /></a></td>
              </tr>
            </table></td>
            </tr>
		  <tr>
            <td class="aux_intable_td1">入伙人：</td>
            <td class="aux_intable_td2"><input name="ownerName" type="text" class="inputtext" value="" size="16" /></td>
            </tr>
          <tr>
            <td class="aux_intable_td1">验房情况：</td>
            <td class="aux_intable_td2">
              <select name="inspectResult" style="width:110px;">
	            <option value="">请选择...</option>
	            <option value="001">未通过</option>
	            <option value="003">已通过</option>
	          </select></td>
          </tr>
          <tr>
            <td class="aux_intable_td1">资料收发：</td>
            <td class="aux_intable_td2">
              <select name="docState" style="width:110px;">
                <option value="">请选择...</option>
                <option value="0">未发放</option>
                <option value="1">已发放</option>
              </select>            </td>
          </tr>
		  <tr>
            <td class="aux_intable_td1">收费状态：</td>
            <td class="aux_intable_td2">
              <select name="chargeState" style="width:110px;">
                <option value="">请选择...</option>
				<option value="0">未 收</option>
                <option value="1">已 收</option>
              </select>            </td>
          </tr>
		  <tr>
            <td class="aux_intable_td1">钥匙移交：</td>
            <td class="aux_intable_td2">
              <select name="handoverState" style="width:110px;">
                <option value="">请选择...</option>
                <option value="0">未移交</option>
                <option value="1">已移交</option>
              </select></td>
        </table>
        </form>
        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td class="window_footer"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" cellpadding="0" cellspacing="0" onclick="identitySearch()">
            <tr>
              <td class="buttonOffLeft" id="btn1_21"></td>
              <td class="buttonOffMiddle" id="btn1_22"  onMouseOver="btn_change_over(2)" onMouseOut="btn_change_out(2)" onblur="btn_change(2)"><img src="${ctx}/images/ico_ok.gif" alt="" width="14" height="14" border="0" align="absbottom" /> 确 定</td>
              <td class="buttonOffRight" id="btn1_23"></td>
            </tr>
        </table></td>
        <td class="btn_between_space"></td>
        <td><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td class="buttonOffLeft" id="btn1_31"></td>
              <td class="buttonOffMiddle" id="btn1_32" onClick="windowClose();" onMouseOver="btn_change_over(3)" onMouseOut="btn_change_out(3)" onblur="btn_change(3)"><img src="${ctx}/images/ico_cancel.gif" alt="" width="14" height="14" border="0" align="absbottom" /> 取 消</td>
              <td class="buttonOffRight" id="btn1_33"></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>